home *** CD-ROM | disk | FTP | other *** search
- echo off
- . testset.bat %1 revised 14-aug-83
- setdisk %1
- if errorlevel 5 goto notfound
- if errorlevel 3 goto disk3
- if errorlevel 2 goto disk2
- if errorlevel 1 goto disk1
- echo found %1 on drive A:
- goto exit
- :disk1
- echo found %1 on drive B:
- goto exit
- :disk2
- echo found %1 on drive C:
- goto exit
- :disk3
- echo found %1 on drive D:
- goto exit
- :notfound
- echo setdisk did not find file
- :exit
- 11
- if errorlevel 10 echo 10
- if errorlevel 9 echo 9
- if